FROM java:8-jdk

MAINTAINER credithc

ADD customers-data-service-0.0.1-SNAPSHOT.jar /jar/customers-data-service-0.0.1-SNAPSHOT.jar
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone

ENTRYPOINT ["java","-jar","/jar/customers-data-service-0.0.1-SNAPSHOT.jar"]